Skip to main content

revSetSpeechVolume

Type

command

Summary

Sets the volume at which the revSpeak command speaks.

Syntax

revSetSpeechVolume <volume>

Description

Use the revSetSpeechVolume command to make speech louder or quieter.

The higher the volume, the louder LiveCode will speak. Setting the volume to 0 will cause LiveCode to speak silently, and setting the volume to 100 will result in the maximum possible speech loudness

Important

The revSetSpeechVolume command is part of the Speech library. To ensure that the command works in a standalone application, you must include this custom library when you create your standalone. In the Inclusions pane of the Standalone Application Settings window, make sure the "Speech" library checkbox is checked.

Parameters

NameTypeDescription

volume

integer

An integer between 0 and 100. The default volume is 100 on Windows and Mac OS X

Examples

revSetSpeechVolume 0       -- Silent
revSetSpeechVolume 50      -- Half volume
revSetSpeechVolume 100     -- Full volume

function: revGetSpeechVolume

glossary: Standalone Application Settings, standalone application, command, LiveCode custom library

library: Speech library

command: revSpeak, revSetSpeechProvider

Compatibility and Support

Introduced

LiveCode 2.8.1

OS

mac

windows

Platforms

desktop

server

Thank you for your feedback!

Was this page helpful?